<div class=grid_18>
<div class=grid_10> 
    <div class=block-border> 
        <div class=block-header> 
            <h1>SDA Church - Kwabrafoso: Edit Sabbathschool Programme</h1><span></span> 
        </div> 

        <form id=validate-form class="block-content form" action="edit" method=post>
                         
            <div class=_50> 
                <p><label for=textarea>Quarter</label> 
                    <input id="sqtr" name="sqtr" class="required" class="input-xlarge" type="int" value="<?php echo $record['Sabbathschool']['sqtr'];?>"/></p> 
            </div>  
                
            <div class=_50> 
                <p><label for=textarea>Year (YYYY)</label>
                    <input id="syear" name="syear" class="required" type="year" value="<?php echo $record['Sabbathschool']['syear'];?>"/>
                    <input type="hidden" id="syear" name="syear" value="<?php echo $record['Sabbathschool']['id'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=datepicker>Date</label>
                    <input type=date id="sdate" name="sdate" class="required" value="<?php echo $record['Sabbathschool']['sdate'];?>"/></p> 
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Title</label>
                    <input id="title" name="title" class="" type="text" value="<?php echo $record['Sabbathschool']['title'];?>"/></p>
            </div> 

            <div class=_50> 
                <p><label for=textarea>Memory Text</label>
                    <input id="memtxt" name="memtxt" class="" type="text" value="<?php echo $record['Sabbathschool']['memtxt'];?>"/></p>
            </div> 
            
            <div class=_50> 
                <p><label for=textarea>Superintendent</label>
                    <input id="sup" name="sup" class="" type="text" value="<?php echo $record['Sabbathschool']['sup'];?>"/></p>
            </div> 
                
            <div class=_50> 
                <p><label for=textarea>Secretary</label>
                    <input id="sec" name="sec" class="" type="text" value="<?php echo $record['Sabbathschool']['sec'];?>"/></p>
            </div> 

            <div class=_50> 
                <p><label for=textarea>Prayer</label>
                    <input id="pry" name="pry" class=" " type="text" value="<?php echo $record['Sabbathschool']['pry'];?>"/></p>
            </div> 

            <div class=_50> 
                <p><label for=textarea>Mission Reading</label>
                    <input id="misr" name="misr" class="" type="text" value="<?php echo $record['Sabbathschool']['pry'];?>"/></p>
            </div> 

            <div class=block-actions> 
                <ul class=actions-left> 
                    <li><a class="button red" id=reset-validate-form href="javascript:void(0);">Reset</a></li> 
                </ul> 
                
                <ul class=actions-right> 
                    <li><input type=submit id="Save-Sabbathschool" class="button" value="Save Record"></li> 
                </ul> 
            </div> 
        </form> 
    </div> 
</div>